package com.jzg.jcptadmin.data.vo;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by wangyd on 15/12/28.
 */
public class VinHistory implements Parcelable {

    private String vin;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    @Override
    public String toString() {
        return "VinHistory{" +
                "vin='" + vin + '\'' +
                '}';
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.vin);
    }

    public VinHistory() {
    }

    protected VinHistory(Parcel in) {
        this.vin = in.readString();
    }

    public static final Parcelable.Creator<VinHistory> CREATOR = new Parcelable.Creator<VinHistory>() {
        public VinHistory createFromParcel(Parcel source) {
            return new VinHistory(source);
        }

        public VinHistory[] newArray(int size) {
            return new VinHistory[size];
        }
    };
}
